<script type="text/html" template lay-done="layui.data.userMemodone(d)">
    <div class="layui-fluid memo-area">
        <div class="layui-form layui-review-form" action="" lay-filter="review-form">
            {{# if(d.params.showReview && d.params.review == '1'){ }}
                <div class="layui-form-item" style="margin-top: 5px;">
                    <label class="layui-form-label">复核：</label>
                    <input type="radio" name="review" value="1" title="复核" {{d.params.review == '1'? "checked": ''}}>
                    <input type="radio" name="review" value="0" title="不复核">
                </div>
            {{# } }}
            <div class="layui-form-item">
                <label class="layui-form-label">{{d.params.title ? d.params.title : '意见'}}：</label>
                <textarea name="memo" cols="15" rows="5" placeholder="请输入意见" class="layui-textarea"></textarea>
            </div>
        </div>
    </div>
</script>

<script>
    layui.data.userMemodone = function(d){
        layui.use(['form'], function(){
            var form = layui.form;
            form.render(null, "review-form");
        })
    }
</script>
<style>
    .layui-form-checkbox i{
        height: 30px;
    }
    .layui-form-item{
        margin: 0;
    }
    .memo-area{
        padding: 0 15px;
    }
    .layui-form-label{
        width: auto;
        padding: 9px 10px;
    }
</style>



